package com.etime.shycourse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author wb
 * @since 2022-03-15
 */
@ApiModel(value = "Couponlog对象", description = "")
public class Couponlog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "couponlogid", type = IdType.AUTO)
    private Integer couponlogid;

    private Integer couponid;

    @ApiModelProperty(value = "领取的优惠券id")
    private Integer couponlongreciveid;

    @ApiModelProperty(value = "优惠券编号为一串不重复的字符串。用于唯一确定一张优惠券。")
    private String couponno;

    private Integer couponloguserid;

    @ApiModelProperty(value = "姓名+昵称")
    private String couponlogusername;

    @ApiModelProperty(value = "1--领取	            2--使用	            3--过期")
    private Integer couponlogtype;

    private Date couponlogtime;

    private String couponlogdesc;


    public Integer getCouponlogid() {
        return couponlogid;
    }

    public void setCouponlogid(Integer couponlogid) {
        this.couponlogid = couponlogid;
    }

    public Integer getCouponid() {
        return couponid;
    }

    public void setCouponid(Integer couponid) {
        this.couponid = couponid;
    }

    public Integer getCouponlongreciveid() {
        return couponlongreciveid;
    }

    public void setCouponlongreciveid(Integer couponlongreciveid) {
        this.couponlongreciveid = couponlongreciveid;
    }

    public String getCouponno() {
        return couponno;
    }

    public void setCouponno(String couponno) {
        this.couponno = couponno;
    }

    public Integer getCouponloguserid() {
        return couponloguserid;
    }

    public void setCouponloguserid(Integer couponloguserid) {
        this.couponloguserid = couponloguserid;
    }

    public String getCouponlogusername() {
        return couponlogusername;
    }

    public void setCouponlogusername(String couponlogusername) {
        this.couponlogusername = couponlogusername;
    }

    public Integer getCouponlogtype() {
        return couponlogtype;
    }

    public void setCouponlogtype(Integer couponlogtype) {
        this.couponlogtype = couponlogtype;
    }

    public Date getCouponlogtime() {
        return couponlogtime;
    }

    public void setCouponlogtime(Date couponlogtime) {
        this.couponlogtime = couponlogtime;
    }

    public String getCouponlogdesc() {
        return couponlogdesc;
    }

    public void setCouponlogdesc(String couponlogdesc) {
        this.couponlogdesc = couponlogdesc;
    }

    @Override
    public String toString() {
        return "Couponlog{" +
                "couponlogid=" + couponlogid +
                ", couponid=" + couponid +
                ", couponlongreciveid=" + couponlongreciveid +
                ", couponno=" + couponno +
                ", couponloguserid=" + couponloguserid +
                ", couponlogusername=" + couponlogusername +
                ", couponlogtype=" + couponlogtype +
                ", couponlogtime=" + couponlogtime +
                ", couponlogdesc=" + couponlogdesc +
                "}";
    }
}
